Initializes a new instance of the
GeometryShaderclass.
シンタックス
'宣言
Public Overloads Shared Function Create( _
ByVal As Device, _
ByVal () As System.Byte, _
ByVal () As StreamOutputElement, _
ByVal () As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As ClassLinkage _
) As GeometryShader
public static GeometryShader Create(
Device ,
System.byte[] ,
StreamOutputElement[] ,
System.int[] ,
System.int ,
ClassLinkage
)
パラメータ
- device
- The device used to create the shader.
- shaderBytecode
- The compiled shader bytecode.
- elements
- An array of StreamOutputElementinstances describing the layout of the output buffers.
- bufferedStrides
- An array of buffer strides; each stride is the size of an element for that buffer.
- rasterizedStream
- The index number of the stream to be sent to the rasterizer stage. Set to NoRasterizedStream if no stream is to be rasterized.
- linkage
- A dynamic class linkage interface.
参照